﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace MedicalSystem.SmartReport.Host.Configuration
{
    public class CustomPropertyCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new CustomPropertyElement();
        }
        protected override object GetElementKey(ConfigurationElement element)
        {
            CustomPropertyElement customPropertyElement = element as CustomPropertyElement;
            return customPropertyElement.Name;
        }
    }
}
